import Mock from 'mockjs' // 引入mockjs

 
let data = {
    "web_set":"3232",
    "web_ip":"192.168.10.12",
    "web_port":"225.225.225.0",
    "http_port":"8050",
    "localhost":"8080",
    "sql_port":"3360",
    "status":"0"
} 

Mock.mock('/action/system_parameter', 'get', data) // 根据数据模板生成模拟数据